<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>

<link rel="stylesheet" type="text/css" href="/css/seminar.css"/>
<script src="/js/seminar.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		// 좌측 메뉴 하일라이팅.
		$("ul.Left_sMenu_area").eq(0).find("a:eq(4)").css({"font-weight": "bold","color": "black"});
	});
</script>

<s:set name="authCode" value="#session.authCode"/>
<s:set name="orgCode" value="#session.orgCode"/>
<s:set name="dCode" value="%{deskCode}"/>

<input type="hidden" id="seminarSeq" name="seminarSeq" value="<s:property value="seminarSeq"/>"/>
<input type="hidden" id="pageNumber" name="pageNumber" value="<s:property value="pageNumber"/>"/>
<input type="hidden" id="deskCode" name="deskCode" value="<s:property value="deskCode"/>"/>
 <!-- 오른쪽 내용 시작 -->
      <dl class="Right_Contents_area">
        <dd class="Center_Top_title"> <span class="top_title"><img src="/images/report/seminar/SubContents_Tit_01.gif" width="370" height="42" alt="설명회/세미나 실적" /></span> <span class="top_navi">HOME > 업무보고 > 설명회/세미나 실적</span></dd>
        <dd>&nbsp;</dd>
        <dd class="Right_Contents_SearchDate">마지막 수정일 : <span class="TEXT_Red_Bold"><s:property value="%{seminarInfoDetail.modTime}"/></span></dd>
        <dd class="Center_Top_contents">
          <div id="LIst_Zone">
            <dl>
              <dd>
              <table class="viewboard" border="1" cellspacing="0" summary="설명회/세미나 실적">
                <caption>상세보기</caption>
                <colgroup><col width="130px"><col width="135px"><col width="94px"><col width="135px"><col width="94px"><col width="130px"></colgroup>
                <tbody>
                  <tr>
                    <th scope="row" class="Top_line"><img src="/images/report/seminar/board_Icon_dot.gif" width="15" height="12" alt="" />개최일자</th>
                    <td class="Top_line"><s:property value="%{seminarInfoDetail.startDate}"/></td>
                    <th scope="row" class="Top_line"><img src="/images/report/seminar/board_Icon_dot.gif" width="15" height="12" alt="" />참 석 자</th>
                    <td class="Top_line"><s:property value="%{seminarInfoDetail.attendCount}"/>&nbsp;명</td>                    
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/seminar/board_Icon_dot.gif" width="15" height="12" alt="" />설명회 주제</th>
                    <td colspan="3"><s:property value="%{seminarInfoDetail.seminarTitle}"/></td>
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/seminar/board_Icon_dot.gif" width="15" height="12" alt="" />행사 주최</th>
                    <td colspan="3"><s:property value="%{seminarInfoDetail.seminarHost}"/></td>
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/seminar/board_Icon_dot.gif" width="15" height="12" alt="" />행사 주관</th>
                    <td colspan="3"><s:property value="%{seminarInfoDetail.seminarSupervise}"/></td>
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/seminar/board_Icon_dot.gif" width="15" height="12" alt="" />장&nbsp;&nbsp;&nbsp;&nbsp;소</th>
                    <td colspan="3"><s:property value="%{seminarInfoDetail.place}"/></td>
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/seminar/board_Icon_dot.gif" width="15" height="12" alt="" />주요 내용</th>
                    <td colspan="3"><textarea cols="90" rows="8" readonly><s:property value="%{seminarInfoDetail.discussIssue}"/></textarea></td>
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/seminar/board_Icon_dot.gif" width="15" height="12" alt="" />보고서 첨부</th>
                    <td colspan="3">
                    	<!-- 
                    	<c:if test="${!empty fileName}">
                    	<s:url id="download" namespace="/common" action="fileDownload.desk" includeParams="none">
                       		<s:param name="fileName"><s:property value="seminarInfoDetail.fileName"/></s:param>
                       		<s:param name="filePath"><s:property value="seminarInfoDetail.pathName"/></s:param>
                       	</s:url>
                       		<s:a href="%{download}" title="file"><s:property value="%{seminarInfoDetail.fileName}" escape="false"/></s:a>
                    	</c:if>
                    	<c:if test="${empty fileName}">
                    		파일이 존재하지 않습니다.
                    	</c:if>
                    	-->
                    	
                    	<s:if test="%{seminarInfoDetail.fileName != null}">
	                      		<form name="form_file_download" method="POST" action="/common/fileDownload.desk">
		                      		<input type="hidden" name="fileName" value="<s:property value="seminarInfoDetail.fileName"/>"/>
		                      		<input type="hidden" name="filePath" value="<s:property value="seminarInfoDetail.pathName"/>"/>
	                      		</form>
	                      		<img src="/images/notice/icon_file.gif" width="11" height="11" alt="첨부파일" /> 
	                      		<span class="download" style="cursor:pointer;"><s:property value="seminarInfoDetail.fileName"/></span>
	                    </s:if>
                   	</td>
                  </tr>
                  <tr>
                    <th scope="row" rowspan="2" class="Bottom_line"><img src="/images/report/seminar/board_Icon_dot.gif" width="15" height="12" alt="" />관련사진 첨부</th>
                    <td colspan="3" class="Bottom_line">
                    	<s:if test="%{seminarInfoDetail.picName1 != null}">
	                      		<form name="form_file_download" method="POST" action="/common/fileDownload.desk">
		                      		<input type="hidden" name="picName1" value="<s:property value="seminarInfoDetail.picName1"/>"/>
		                      		<input type="hidden" name="filePath" value="<s:property value="seminarInfoDetail.pathName"/>"/>
	                      		</form>
	                      		<span style="padding-left:10px;" class="download" style="cursor:pointer;"><img src="/semi/${seminarInfoDetail.picName1 }" width="300px" height="250px"/></span>
	                    </s:if>
                   	</td>
                  </tr>
                </tbody>
              </table> 
              </dd>
            </dl> 
            <dl class="List_Btn_area"><!-- 버튼 부분 -->
             <dd class="Left_Zone"><a href="/seminar/seminarList.desk?pageNumber=<s:property value="pageNumber"/>"><img src="/images/notice/btn_list.gif" alt="목록" width="52" height="26" border="0" /></a></dd>            
             <dd class="Right_Zone">
             	<s:if test="#orgCode != 'KIPO'">
             		<s:if test="#session.deskCode == #dCode">
             			<a href="/seminar/seminarModifyForm.desk?seminarSeq=<s:property value="seminarSeq"/>&pageNumber=<s:property value="pageNumber"/>&deskCode=<s:property value="deskCode"/>"><img src="/images/report/seminar/btn_edit.gif" width="170" height="26" alt="설명회/세미나 실적 수정" /></a>&nbsp;<img src="/images/notice/btn_del.gif" alt="삭제" width="54" height="26" border="0" id="deleteSeminar" name="deleteSeminar"/>
             		</s:if>
             		<s:if test="#authCode == 'ADMIN_ORG'">
             			<a href="/seminar/seminarModifyForm.desk?seminarSeq=<s:property value="seminarSeq"/>&pageNumber=<s:property value="pageNumber"/>&deskCode=<s:property value="deskCode"/>"><img src="/images/report/seminar/btn_edit.gif" width="170" height="26" alt="설명회/세미나 실적 수정" /></a>&nbsp;<img src="/images/notice/btn_del.gif" alt="삭제" width="54" height="26" border="0" id="deleteSeminar" name="deleteSeminar"/>
             		</s:if>
             		<s:if test="#authCode == 'ADMIN'">
             			<a href="/seminar/seminarModifyForm.desk?seminarSeq=<s:property value="seminarSeq"/>&pageNumber=<s:property value="pageNumber"/>&deskCode=<s:property value="deskCode"/>"><img src="/images/report/seminar/btn_edit.gif" width="170" height="26" alt="설명회/세미나 실적 수정" /></a>&nbsp;<img src="/images/notice/btn_del.gif" alt="삭제" width="54" height="26" border="0" id="deleteSeminar" name="deleteSeminar"/>
             		</s:if>
             	</s:if>
             </dd>
            </dl><!-- 버튼 부분 -->           
          </div>
        </dd>
      </dl>
      <!-- 오른쪽 내용 끝 --> 
    </div>
  </div>
  <!-- center 나누어 지는 부분 끝 --> 
</div>